package com.regent.central.bill.repository;

import com.regent.central.bill.core.SaleOrderActionLogging;
import com.regent.central.bill.dto.sale_order.SaleOrderActionLoggingDTO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SaleOrderActionLoggingMapper extends Mapper<SaleOrderActionLogging> {

    /**
     * 获取销售单动作的变动日志
     *
     * @param actionId 动作ID
     * @return 销售单动作的变动日志
     */
    List<SaleOrderActionLoggingDTO> getSaleOrderActionLoggings(
            @Param("actionId") String actionId
    );

}